<!-- 富文本编辑器 -->
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Admin/vendor/plugins/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Admin/vendor/plugins/ueditor/ueditor.all.js"> </script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Admin/vendor/plugins/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Admin/js/ajaxfileupload.js"></script>
<style type="text/css">
  .w240{width: 240px;}
  .sml-240{padding-left: 240px;}
</style>

<div id="content" class="">
        <div class="row">
          <div class="col-md-12">
            <!-- Input Fields -->
            <div class="panel">
              <div class="panel-heading">

                <span class="panel-title">网站基本信息设置</span>
              </div>
              <div class="admin-form theme-primary mw1000 center-block" style="padding-bottom: 175px; margin-top:30px;">
              <div class="panel heading-border panel-primary">
                <form method="post" action="{:U('System/dosite')}"  >
                  <div class="panel-body bg-light">
                    <div class="section-divider mt20 mb40"><span> 信息项 </span></div>
                    <!-- .section-divider -->
                      <div class="section">
                      <div class="smart-widget sm-left sml-160">
                        <label class="field prepend-icon ">
                          <input type="text" name="webname" id="webname" class="gui-input" placeholder="此处输入网站名称：：必填" value="{$data['webname']}">
                        </label>
                        <label  class="button btn-primary w240" >网站名称：</label>
                      </div>
                    </div>

                      <!-- <div class="section">
                      <div class="smart-widget sm-left sml-160">
                        <label class="field prepend-icon ">
                          <input type="text" name="webkeywords" id="title" class="gui-input" placeholder="此处输入前端关键词：选填" value="{$data['webkeywords']}">
                        </label>
                        <label  class="button btn-primary w240" >前端关键词：</label>
                      </div>
                    </div> -->

                     <!-- <div class="section">
                      <div class="smart-widget sm-left sml-160">
                        <label class="field prepend-icon ">
                          <input type="text" name="webdescription" id="webdescription" class="gui-input" placeholder="此处输入前端描述：选填" value="{$data['webdescription']}">
                        </label>
                        <label  class="button btn-primary w240" >前端描述：</label>
                      </div>
                    </div> -->

                    <div class="section">
                       <div class= "row">
                      <div class="col-md-6">
                        <div class="smart-widget sm-left sml-160">
                          <label class="field prepend-icon ">
                            <input type="text" name="tel_zx1" id="tel_zx1" class="gui-input" placeholder="" value="{$data['tel_zx1']}">
                          </label>
                          <label  class="button btn-primary w240" >咨询电话1：</label>
                        </div>
                      </div>

                      <div class="col-md-6">
                        <!-- <div class="smart-widget sm-left sml-160">
                          <label class="field prepend-icon ">
                            <input type="text" name="tel_zx2" id="tel_zx2" class="gui-input" placeholder="" value="{$data['tel_zx2']}">
                          </label>
                          <label  class="button btn-primary w240" >咨询电话2：</label>
                        </div> -->
                      </div>
                    </div>


                    </div>



                     <div class="section ">

                    <div class= "row">
                      <div class="col-md-6">
                        <div class="smart-widget sm-left sml-160">
                          <label class="field prepend-icon ">
                            <input type="text" name="address_1" id="address_1" class="gui-input" placeholder="" value="{$data['address_1']}">
                          </label>
                          <label  class="button btn-primary w240" >地址：</label>
                        </div>
                      </div>

                        <div class="col-md-6">

                      <div class="smart-widget sm-left sml-160">
                        <label class="field prepend-icon ">
                          <input type="text" name="webemail" id="webemail" class="gui-input" placeholder="" value="{$data['webemail']}">
                        </label>
                        <label  class="button btn-primary w240" >联系邮箱：</label>
                      </div>

                      </div>
                    </div>

                    </div>





                    <!-- <div class="section ">

                    <div class= "row">


                     <div class="col-md-6">
                        <div class="smart-widget sm-left sml-160">
                          <label class="field prepend-icon ">
                            <input type="text" name="address_2" id="address_2" class="gui-input" placeholder="" value="{$data['address_2']}">
                          </label>
                          <label  class="button btn-primary w240" >备案号：</label>
                        </div>
                      </div>

                    <div class="col-md-6">

                        <div class="smart-widget sm-left sml-160">
                          <label class="field prepend-icon ">
                            <input type="text" name="zhichi" id="zhichi" class="gui-input" placeholder="" value="{$data['zhichi']}">
                          </label>
                          <label  class="button btn-primary w240" >技术支持：</label>
                        </div>
                      </div>

                      </div>

                    </div> -->

            		  <div class="section ">

                    <div class= "row">
                      <div class="col-md-6">
                        <div class="smart-widget sm-left sml-160">
                          <label class="field prepend-icon ">
                            <input type="text" name="bannernum" id="bannernum" class="gui-input" placeholder="" value="{$data['bannernum']}">
                          </label>
                          <label  class="button btn-primary w240" >banner数目：</label>
                        </div>
                      </div>
                    </div>
					<br/>



                   <!-- <div class="row">
                    <div class="section col-md-6">

                       <span class="fileupload-preview thumbnail m5 pull-left col-md-6">
                            <img src="{$data['wxcode']}" class="img-responsive" id="wxcodeimg" title="stairs-to_soul.jpg">
                      </span>
                       <div>
                       <input type="file" class="gui-file" style="width:0px" name="wxcodefile"  id="wxcodefile" onchange=" ajaxuploadImg('wxcodefile','wxcode','{:U('Ajax/uploadImg')}','wxcodeimg');">
                      <input type="hidden" id="wxcode" name="wxcode" value="{$data['wxcode']}">
                      <span class="fileupload-preview  m5 pull-right"><button type="button" onclick="getinputclick('wxcodefile');" class="btn active btn-primary btn-block">右侧客服二维码</button></span>
                    </div>

                    </div>

                    <div class="section col-md-6">

                       <span class="fileupload-preview thumbnail m5 pull-left col-md-6">
                            <img src="{$data['zfbcode']}" class="img-responsive" id="zfbcodeimg" title="stairs-to_soul.jpg">
                       </span>

                       <div>
                       <input type="file" class="gui-file" style="width:0px"  name="zfbcodefile"  id="zfbcodefile" onchange=" ajaxuploadImg('zfbcodefile','zfbcode','{:U('Ajax/uploadImg')}','zfbcodeimg');">
                      <input type="hidden" id="zfbcode" name="zfbcode" value="{$data['zfbcode']}">
                      <span class="fileupload-preview  m5 pull-right"><button type="button" onclick="getinputclick('zfbcodefile');" class="btn active btn-primary btn-block">网站底部二维码</button></span>
                    </div>
                    </div> -->

                  </div>
                </div>
                <!-- <div class="section">
                    <h3>栏目内容：</h3>
                    <textarea id="editor" style="height:300px;" name="companyIntro">{$data['companyIntro']}</textarea>
                </div> -->

                  <div class="panel-footer text-right">
                    <button type="submit" class="button btn-primary">提交</button>
                    <!-- <button type="reset" class="button btn-primary">清空</button> -->
                  </div>
                  <!-- end .form-footer section -->
                </form>

              </div>

            </div>
            </div>
          </div>
        </div>
</div>


<script type="text/javascript">
var ue = UE.getEditor('editor');

  function getinputclick(id){
      var dom = $("#"+id);
      dom.click();
  }
</script>
